home *** CD-ROM | disk | FTP | other *** search
- function menu()
- {
- }
- stop();
- _root.currentlevel = 1;
- _root.charchoice = "girl";
- _root.intense = 4;
- _root.addscore = 40;
- _root.intensity = [11000,19000,8700,8200,7200,5200,5000,4100,4050,4040,3030,2020,2010,2000,1050,1025,1000,900,900,900,950,950,900];
- _root.throwintense = [25,40,40,40,40,40,40,40,30,30,30,30,30,30,30,30,30,30,30,30,30];
- _root.throwlock = _root.throwintense[4];
- _root.critterhit = 0;
- _root.hopperin = 30000;
- _root.intensecounter = 4;
- _root.postname = "Kiko";
- _root.score = 0;
- demo.removeMovieClip();
- register_b.removeMovieClip();
- register_name.removeMovieClip();
- register_key.removeMovieClip();
- _root.btext.removeMovieClip();
- delete bubblenote.prototype.onEnterFrame;
- delete _root.flipper.onEnterFrame;
- delete _root.bballoon.onEnterFrame;
- delete _root.btext.onEnterFrame;
- _root.bballoon.removeMovieClip;
- _root.attachMovie("grassback2","grass",2);
- _root.base.removeMovieClip();
- _root.powerupnum = 0;
- menu.currentup = false;
- pupint.clearInterval();
- if(_root.currentlevel >= 1 and _root.startedgame == true)
- {
- _root.frame.removeMovieClip();
- gotoAndStop(20);
- }
- else
- {
- _root.laughz.singleshot("laughz",true);
- _root.prevscore = 0;
- }
- menu.prototype = new MovieClip();
- Object.registerClass("button_plain",menu);
- xsetting = 220;
- if(_root.registergame)
- {
- ysetting = 190;
- textarray = ["text_rule","text_setup2","text_playdemo1","text_scores","text_buygame1"];
- }
- else
- {
- ysetting = 190;
- textarray = ["text_rule","text_setup2","text_playdemo1","text_scores","text_buygame1"];
- }
- xarray = [-200,800,-200,800,-200,-220,800,-200,800,-200,800,-200];
- xsetting = xarray[0];
- menuitem = 0;
- while(menuitem < 10)
- {
- Object.registerClass(textarray[menuitem],menu);
- attachMovie(textarray[menuitem],["button" + menuitem],menuitem + 5,{_x:256,_y:600,timer:menuitem,originy:ysetting,_xscale:99,_yscale:99});
- ysetting += 25;
- menuitem++;
- }
- menu.prototype.onEnterFrame = function()
- {
- if(_root._currentframe < 14)
- {
- this.removeMovieClip();
- }
- if(_root._currentframe > 15)
- {
- this.removeMovieClip();
- }
- if(this.locked)
- {
- this.enabled = false;
- }
- else
- {
- this.enabled = true;
- }
- if(!this.init)
- {
- this.hh = 0;
- this.cevent = 1;
- this.init = true;
- }
- this.onRollOver = function()
- {
- _root.cursorz.gotoAndStop(3);
- rollover1.singleshot("rollover1",true);
- this._y = this.originy - 5;
- };
- this.onRollOut = function()
- {
- _root.cursorz.gotoAndStop(1);
- };
- this.onPress = function()
- {
- down.singleshot("down",true);
- this._y = this.originy - 7;
- };
- this.onRelease = function()
- {
- _root.cursorz.gotoAndStop(1);
- _root.menu.prototype.locked = true;
- if(!menu.currentup)
- {
- switch(this.timer)
- {
- case 0:
- _root.attachMovie("board_rules","boardrules",1000,{_x:256,_y:218,name:"menu"});
- menu.currentup = true;
- break;
- case 1:
- _root.attachMovie("char_setup","boardsetup",1000,{_x:256,_y:218,name:"menu",locked:true});
- menu.currentup = true;
- break;
- case 2:
- _root.frame.removeMovieClip();
- _root.uiobj = _root.myLocalSO.data.uiobj;
- trace(_root.uiobj);
- _root.gotoAndStop("levelsetup");
- break;
- case 3:
- _root.attachMovie("board_score","boardcontrol",999,{_x:256,_y:218,name:"menu"});
- menu.currentup = true;
- break;
- case 4:
- gotoAndStop(33);
- cool.singleshot("crow",true);
- menu.currentup = false;
- _root.menu.prototype.locked = false;
- }
- }
- };
- if(this._y != this.originy)
- {
- this.snapinplace(0.8,1.7,this.originy,256);
- }
- if(this.i > this.timer * 80)
- {
- this.snapinplace(0.8,1.7,this._y,256);
- }
- else if(this.i < 500)
- {
- this.i = this.i + 1;
- }
- };
- i = 0;
- while(i < 10000)
- {
- clearInterval(i);
- i++;
- }
-